/**
 * FQA管理主界面
 * @author linzongxue 2012-2-19
 */
define(function(){
	var FqaMainPanel = Ext.extend(Ext.Panel, {
		title: 'FQA管理',
		layout: 'border',
		initComponent: function(){
			FqaMainPanel.superclass.initComponent.call(Ext.apply(this, {
				items: [
				    this.typePanel = cu.create('misc.fqa.TypeTreePanel', {
				    	region: 'west',
				    	collapseMode: 'mini'
				    }),
				    this.postPanel = cu.create('misc.fqa.PostGridPanel', {
				    	region: 'center'
				    })
				]
			}));
			//面板相互共享
			this.typePanel.postPanel = this.postPanel;
			this.postPanel.typePanel = this.typePanel;
		}
	});
	return FqaMainPanel;
});